package com.sky.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * AI聊天记录实体类
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AiChatRecord implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;                  // 主键
    private Long userId;              // 用户ID
    private String question;          // 用户提问
    private String answer;            // AI回答
    private LocalDateTime createTime; // 创建时间
} 